package com.indusfo.spc.mapper;

import com.indusfo.spc.pojo.Badpheno;
import com.indusfo.spc.pojo.BadphenoPro;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BadphenoProMapper {

    List<BadphenoPro> selectPro(BadphenoPro badphenoPro);

    Integer countPro(BadphenoPro badphenoPro);

    int insertPro(@Param("ids") Long[] ids,@Param("badphenoId") Integer badphenoId);

    int delPro(@Param("ids")Long[] ids,@Param("badphenoId") Integer badphenoId);
    
    int delAllProByBadpheno(@Param("badphenoId") Integer badphenoId);

	List<BadphenoPro> queryByProId(@Param("proId")Integer proId);
}